package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author ccc
 * @since 2023-11-15 17:50:05
 */
@Data
@TableName("field_irrigate")
public class FieldIrrigate {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("灌溉次数")
    private Integer degree;

    @ApiModelProperty("田间活动id")
    private Integer fieldId;

    @ApiModelProperty("灌溉用水")
    private Integer waterId;

    @ApiModelProperty("灌溉用水名称")
    private String waterName;

    @ApiModelProperty("用水量")
    private BigDecimal num;

    @ApiModelProperty("灌溉方式")
    private Integer wayId;

    @ApiModelProperty("灌溉方式名称")
    private String wayName;

}